/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package util.www.sql.domain;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Rdelacruz
 */
public class ResultSetMetaDataSql {  
    //private TablaSql tabla;    
    private final List<String> columnas = new ArrayList<String>();
    
    public void addColumna(String nombreColumna) {
        columnas.add(nombreColumna);
    }
    
    public String getNombreColumna(int pos) {//pos: 1,2,3,...
        return columnas.get(pos-1);
    }
}
